import withHoc from "../HOC/Hoc"

const Cart=({count,changeCount})=>{
    return (
        <>
            <h1>Cart组件</h1>
            <div>{count}</div>
            <button onClick={changeCount}>点我</button>
        </>
    )
}

export default withHoc(Cart)